package org.example.server.app.goods.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class PageAppResponse<T> {
  private Long total;
  @JsonProperty("per_page")
  private Integer perPage;
  @JsonProperty("current_page")
  private Integer currentPage;
  @JsonProperty("last_page")
  private Integer lastPage;
  private List<T> data;
}
